<?php


include_once("httpclient.php");
include_once('config.php');
$url_prefix = Config::$url_prefix;

$action = "GuessCardGame";

$param = array();
$param['base_money'] = 100;
$query = array();

$query['action'] = $action;
$query['ver'] = Config::$ver;
$query['uid'] = 3021;
$query['skey'] = "ffffffffffffffffffffffffffffffffffff";
$query['param'] = json_encode($param);

$url = $url_prefix . http_build_query($query);

$client = new HttpClient();
echo "<pre />";
echo "$url" ."<br>";
echo $client->get($url);
?>
